home *** CD-ROM | disk | FTP | other *** search
/ Personal Computer World 2006 February / PCWFEB06.iso / Software / Resources / Picasa 2.1 / picasa2-current.exe / web / imagetarget.tpl < prev    next >
Text File  |  2005-05-31  |  2KB  |  35 lines

  1. #templatefile -v "1.0" -n "SUBTEMPLATE" -d "USED INTERNALLY BY ANOTHER TEMPLATE"
  2. # pound sign is a comment character
  3. #
  4. # lines that begin with "include" point to a file to be included at this point
  5. # lines that begin with "loop" repeat the specified file once per image
  6. # if loop or include files begin with "#templatefile" then that templatefile
  7. # is processed in its entirety. In this way you can create 
  8. # file-per-image exports. 
  9. #
  10. # The special "targetloop tplfile templatefile" command loops over each image, 
  11. # interpreting tplfile for each one. A sequence number is appended to the export filename
  12. # specified in tplfile. After the tplfiles have been exported, templatefile is included once per
  13. # exported file, with "<%target%>" defined as the relative path of the exported file.
  14. #
  15. # The "copy" command copies the indicated path or directory to the export directory.
  16. # Examples:
  17. # copy everything from the "assets\" directory at the same level as the template into the output dir
  18. # copy assets\ 
  19. #
  20. # copy a single file to the output dir
  21. # copy c:\foo\bar.html 
  22. #
  23. # copy can also have a destination, so
  24. # copy assets\ images\static\ 
  25. # will create the directory "images\static\" in the output directory if necessary, then copy
  26. # the contents of assets\ to it
  27.  
  28. # variables are substituted at inclusion time
  29. define exportFileName target.html
  30. define bgColor 13421772
  31. include itemheader.html
  32. # the file indicated by the "loop" argument is processed once per image.
  33. include targetlistelement.html
  34. include footer.html
  35.